package com.kll.carolinehmibiz.presentation.listener

interface ResetPasswordProtocol {

    interface IView {
        // 重置密码成功
        fun resetPwdSuccessed()
        // 重置密码失败
        fun resetPwdFailed(code: Int, message: String)
        // 发送验证码成功
        fun sendVerifyCodeSuccessed()
        // 发送验证码失败
        fun sendVerifyCodeFailed(code: Int, message: String)
        // 更改验证码倒计时ui
        fun loadAreaCodeTime(count: String, isBusying: Boolean)
        // 显示loading
        fun showLoading()
        // 结束loading
        fun stopLoading()
    }

    interface IPresenter {
        // 重置密码
        fun resetPwd(mobile: String, verifyCode: String, pwd: String)
        // 获取验证码
        fun getVerifyCode(mobile: String)
    }

}